<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
</head>
<body>
<form th:action="@{/etc/add}" method="post">
    车牌号：<input type="text" name="carId"/><br/>
    ETC卡号：<input type="text" name="etcId"/><br/>
    余额：<input type="number" name="money"/><br/>
    用户名：<input type="text" name="userName" readonly="readonly" th:value="${userName}"/><br/>
    使用年限：<input type="number" name="lateYear"/><br/>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>